package packet1;
import java.util.Scanner;
public class huawei4201 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int score = sc.nextInt();
        int s = 100 - score;
        if(s == 0 || s == 100)
        {
            System.out.println(1);
            return;
        }
        int ans = 0;
        for (int i = 0; i <= 10 ; i++) {
            for (int j = 0; j <= 10 ; j++) {
                for (int k = 0; k <= 5 ; k++) {
                    if(i * 2 + j * 4 + k * 8 == s)
                    {
                        if(i != 0)
                            ans += pailie(10,i);
                        if(j != 0)
                            ans += pailie(10,j);
                        if(k != 0)
                            ans += pailie(5, k);
                    }
                }
            }
        }
        System.out.println(ans == 0 ? 1 : ans);
    }
    public static int pailie(int a1, int a2){
        int re = 1;
        for(int i = a1; i > a1 - a2; i--)
        {
            re *= i;
        }
        int re1 = 1;
        for (int i = 1; i <= a2; i++) {
            re1 *= i;
        }
        return re/re1;
    }

}
